package com.wyp.service;

import com.wyp.entity.MSOrder;
import com.wyp.entity.OrderInfo;
import com.wyp.entity.User;
import com.wyp.vo.GoodsVO;

import java.util.List;


/**
 * @author: Oliver
 */
public interface OrderService {
    OrderInfo createOrder(User user, GoodsVO goods);

    OrderInfo getOrderByUserIdAndGoodsId(User user, GoodsVO goods);

    OrderInfo getOrderById(long orderId);

    List<MSOrder> getAllMSOrdersByGoodsId(long goodsId);
}
